package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ee.chat.common.entity.PayChannel;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Shane
 * @since 2020-10-14
 */
public interface PayChannelMapper extends BaseMapper<PayChannel> {
    /**
     * 获取支付宝APP支付状态
     * @return
     */
    PayChannel getAppAliPayStatus();

    /**
     * 获取支付宝APP支付渠道个数
     * @return
     */
    Integer getAppAliPayConfigCount();

    /**
     * 获取微信APP支付状态
     * @return
     */
    PayChannel getAppWxPayStatus();

    /**
     * 获取微信APP支付渠道个数
     * @return
     */
    Integer getAppWxPayConfigCount();
}